package net.czechit.paradox.mail.server;

import com.google.appengine.api.datastore.Key;
// import com.google.appengine.api.users.User;

import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ParadoxEvent 
{
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key key;
	
	@Persistent
	private Date locked;

	public ParadoxEvent(Date locked)
	{
		this.locked = locked;
	}
	
	public Key getKey() {
		return key;
	}

	public void setLocked(Date locked) {
		this.locked = locked;
	}

	public Date getLocked() {
		return locked;
	}
	
	
}
